read

Purpose

Retrieves an instance of the domain class for the specified id in a read-only state, if the object doesn't exist null is returned.

Examples

def b = Book.read(1)

Description

Parameters: